TARGET=app
OBJECTS=main.o
CC= gcc
CCFLAGS = -pthread

$(TARGET) : $(OBJECTS)
	$(CC)  $(CCFLAGS)  -o $(TARGET) $(OBJECTS)


main.o : main.c
	$(CC) $(CCFLAGS) -c  main.c

clean :
	rm *.o  $(TARGET)
